package com.hy.erp.inventory.pojo;

import javax.persistence.Column ;
import javax.persistence.Entity ;
import javax.persistence.Table ;

import com.hy.erp.inventory.dao.interfaces.IAreaDao;
import com.hy.erp.inventory.dao.interfaces.IJbpmAndOperationDao;
import com.hy.erp.inventory.pojo.interfaces.IJbpmAndOperation;
import com.hy.mydesktop.shared.persistence.domain.gxt.MyBaseModel;
/**
 * 
 * <ul>
 * <li>开发作者：汤莉</li>
 * <li>设计日期：2010-11-4；时间：下午03:26:50</li>
 * <li>类型名称：JbpmAndOperation</li>
 * <li>设计目的：Jbpm与业务表的关系表实现类</li>
 * </ul>
 * <ul>
 * <b>修订编号：</b>
 * <li>修订日期：</li>
 * <li>修订作者：</li>
 * <li>修订原因：</li>
 * <li>修订内容：</li>
 * </ul>
 */
/*@ Entity 
@Table(name="jbpmandoperation")
@DaoA(IJbpmAndOperationDao.class)*/
public class JbpmAndOperation extends MyBaseModel //implements IPositonType
//public class JbpmAndOperation	extends	AbstractPersistentEntity	implements		IJbpmAndOperation
{

	/**
	 * <ul>
	 * <li>开发作者：汤莉</li>
	 * <li>设计日期：2010-11-4；时间：下午03:27:13</li>
	 * <li>字段类型：long；字段名称：serialVersionUID</li>
	 * <li>设计目的：</li>
	 * </ul>
	 * <ul>
	 * <b>修订编号：</b>
	 * <li>修订日期：</li>
	 * <li>修订作者：</li>
	 * <li>修订原因：</li>
	 * <li>修订内容：</li>
	 * </ul>
	 */
	private static final long	serialVersionUID	=
														1954326843477442822L ;
	
	public JbpmAndOperation()
	{
		super ( );
	}

	@Column(name="processInstanceId",unique=false,nullable=true,insertable=true,updatable=true)
	public String getProcessInstanceId()
	{
		return this.get ( IJbpmAndOperation.PROCESSINSTANCEID );
	}
	
	public void setProcessInstanceId(String processInstanceId)
	{
		super.set ( IJbpmAndOperation.PROCESSINSTANCEID , processInstanceId );
	}
	
	@Column(name="operationId",unique=false,nullable=true,insertable=true,updatable=true)
	public String getOperationId()
	{
		return this.get ( IJbpmAndOperation.OPERATION );
	}
	
	public void setOperationId(String operationId)
	{
		super.set ( IJbpmAndOperation.OPERATION , operationId );
	}
}
